'''
可变参数：
*args **kwargs
'''
def show_book(*args,**kwargs):
    print(args)
    print(kwargs)

# show_book()
book = {'bookname':'红楼梦','author':'曹雪芹','number':10}
show_book('python','java',**book)

print(book,'hello',sep = '--')

print('{}{}{}'.format('AA','BB','CC'))
print('{name}{age}{sex}'.format(name = '张三',age = 18,sex = '男'))

result = "-".join(["a", 'b'])
print(result)

result = "-".join(["a", 'b','c'])
print(result)


